//
//  DataModel.m
//  FangXinLang
//
//  Created by AJY on 16/9/20.
//  Copyright © 2016年 AJY. All rights reserved.
//

#import "DataModel.h"

@implementation DataModel

+(instancetype)datamodelWith:(NSDictionary *)dic{
    return [[self alloc]initWith:dic];
}
-(instancetype)initWith:(NSDictionary *)dic{

    if(self=[super init])
    {
        _intro=dic[@"intro"];
        _kpic=dic[@"kpic"];
        _link=dic[@"link"];
        _longTitle=dic[@"longTitle"];
       _url=dic[@"videoInfo"][@"url"];
        _tags=dic[@"tags"];

        
    }
    return self;
}

@end
